package io.bdmc.modules.bss.service.impl;

import io.bdmc.common.annotation.DataFilter;
import io.bdmc.common.utils.MyPage;
import io.bdmc.modules.bss.entity.SmkSmsconfig;
import io.bdmc.modules.bss.mapper.SmkSmsconfigMapper;
import io.bdmc.modules.bss.model.LabelValue;
import io.bdmc.modules.bss.service.ISmkSmsconfigService;

import java.util.List;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * <p>
 * 服务实现类
 * </p>
 *
 * @author HuangLu
 * @since 2019-07-05
 */
@Service
public class SmkSmsconfigServiceImpl extends ServiceImpl<SmkSmsconfigMapper, SmkSmsconfig>
        implements ISmkSmsconfigService {

    @Autowired
    private SmkSmsconfigMapper cMapper;

    @DataFilter(tableAlias = "d", user = false)
    @Override
    public MyPage<SmkSmsconfig> mySelectPage(MyPage<SmkSmsconfig> page) {
        return cMapper.mySelectPage(page);
    }

    @DataFilter(tableAlias = "d", user = false)
    @Override
    public List<LabelValue> mySelectCombo(MyPage<SmkSmsconfig> myPage) {
        return cMapper.mySelectCombo(myPage);
    }
}
